﻿using System.Collections.Generic;
using Sample.Interfaces;

namespace Sample.Modules.DummyData
{
    public class DummyLibrary : ILibrary
    {
        private readonly IList<IBook> _books = new List<IBook>
            {
                new DummyBook { Name = "The Hitchhiker's Guide to the Galaxy", Author= "Douglas Adams"},
                new DummyBook { Name = "Ender's Game", Author= "Orson Scott Card"},
                new DummyBook { Name = "Ringworld", Author= "Larry Niven"},
            };

        public IList<IBook> Books
        {
            get
            {
                return _books;
            }
        }
    }
}